.portal_layout {
  overflow: hidden;
  min-width: 1366px;
  height: var(--dy-app-height, 100vh);
  background-color: #f7f7f7;
  color: #333;
  font-size: 12px;

  .el-header {
    z-index: 99;
  }

  .el-aside {
    z-index: 9;
    position: relative;
  }

  .el-header {
    padding: 0;
  }

  .el-main {
    padding: 0;
    height: 100%;
    background-color: #fff;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    // 最外层滚动条
    overflow: hidden;
    > div {
      height: 100%;
    }
  }
  .el-menu {
    border: none;
  }
}

// 区分【流程表单】【应用表单】的不同样式，单独对流程表单以及有评论的应用表单额外修改
.pendingList,
.processingList,
.mySign,
.relevantList,
.draftBoxList,
.copyList,
.startFlowList,
.myEntrust,
.processManager,
.formDrawer_have_comment_layout {
  .formWidget_col_2 {
    .common_select_container {
      width: 100%;
      max-width: 400px;
      min-width: unset;
    }
  }
}

.clearRadius{
  .el-main{
    border-radius: 0 !important;
  }
}

.portal_layout_body {
  overflow: hidden;
  width: 100%;
  height: 100%;
  background: #29304c;

  > div {
    width: 100%;
  }
}

// 左侧样式
.layout_sider_menu {
  padding-top: 10px;
  text-align: center;
  .el-menu-item {
    width: 44px;
    height: 44px;
    display: inline-block;
    padding: 0;
    line-height: 44px;
    border-radius: 4px;
    color: rgba(102, 102, 102, 1);
    font-weight: 400;
    font-size: 14px;
    font-family: PingFangSC-Regular, PingFang SC;
    padding: 0 !important;
    margin-bottom: 16px;
    .triangle {
      visibility: visible;
      width: 0;
      height: 0;
      border-top: 5px solid transparent;
      border-right: 4px solid #fff;
      border-bottom: 4px solid transparent;
      position: absolute;
      top: 18px;
      right: -10px;
    }
    .total {
      text-align: center;
      top: -8px;
      position: absolute;
      right: 6px;
    }
    // .focus_total {
    //   width: 76px;
    // }
    .item_title {
      margin-left: 0px;
    }
    .item_total {
      visibility: unset;
      vertical-align: middle;
      line-height: 18px;
      background-color: #F56262;
      border-radius: 50%;
      width: 8px;
      height: 8px;
    }
    span {
      margin-left: 10px;
    }
    .iconfont {
      font-size: 20px;
      color: #b3b5bf;
    }
    .iconliuchengx {
      color: @primaryColor;
    }
    .icondaibanx {
      color: #409eff;
    }
    .iconfaqix {
      color: #66cc2f;
    }
    .iconyibanx {
      color: #f56262;
    }
    .iconwodex {
      color: @primaryColor;
    }
    .iconcaogaox {
      color: #409eff;
    }
    .color_ac91ec {
      color: #ac91ec;
    }

    &:hover {
      background-color: #3f445e !important;
      i {
        color: #fff;
      }
    }
  }
  .el-submenu {
    .el-submenu__title {
      height: 34px;
      line-height: 34px;
    }
  }

  .el-menu-item.is-active {
    font-weight:500;
    // border-left: 6px solid @primaryColor;
    background-color: #3f445e !important;
    font-weight: 500;
    i {
      color: #fff;
    }
  }
}

.portal_layout_content {
  position: relative;
  // 滚动条
  // overflow-x: hidden;
  // overflow-y: auto;
  margin: auto;
  width: 100%;
  height: 100%;
  background-color: #fff;
  display: flex;
  
  &.business_layout {
    width: 100%;
  }
  &.application_layout {
    background-color: #fff;
    width: 100%;
    height: calc(100% - 40px);
    overflow: auto;
    margin: 0;
    display: inline-block;
    &::-webkit-scrollbar {
      width: 3px;
    }
  }

  .debugger_tag {
    position: absolute;
    top: -50px;
    right: -50px;
    z-index: 2;
    width: 100px;
    height: 100px;
    background-color: #5585f0;
    cursor: pointer;
    transform: rotate(-45deg);

    img {
      position: absolute;
      top: 34px;
      left: 4px;
      transform: rotate(45deg);
    }
  }
}

// 首页-工作台
.portal_layout_home {
  padding: 10px;
  background-color: #f1f2f4;

  .el-card__header {
    padding: 14px 20px;
  }

  .card_title {
    color: #333;
  }
}

.portal_layout_footer {
  padding: 24px 16px 12px;
  color: #999999;
  text-align: center;
  font-size: 12px;
}

// 省略号
.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.el-card__header {
  border-bottom: 1px solid #eee;
}

.card_title {
  padding-left: 1px;
  color: #182c4f;
  font-weight: bold;
  font-size: 16px;
}

.el-col-lg-4-8 {
  width: 20%;
}

.el-col-lg-3-9 {
  width: 33%;
}

// 气泡动画
.toolTip-slide-up {
  transition: transform 300ms cubic-bezier(0.23, 1, 0.32, 1),
    opacity 300ms cubic-bezier(0.23, 1, 0.32, 1);
  transform-origin: 50% 0;

  backface-visibility: hidden;
}

.toolTip-slide-up-enter-active,
.toolTip-slide-up-leave-active {
  opacity: 1;
  transform: scaleY(1);
}

.toolTip-slide-up-enter,
.toolTip-slide-up-leave-active {
  opacity: 0;
  transform: scaleY(0);
}
